{* $Id: 20101105 *}
<script type="text/html" id="tmpl_admin_users">	
<![CDATA[
<tr class="elements" bgcolor="<%= this.bgcolor %>">
            <td class="width-50 border center">
                <%= this.id %>
            </td>
            <td class="width-200 border">
                <%= this.user_fullname %>
            </td>
            <td class="width-100 border">
                <%= this.username %>
            </td>
            <td class="width-100 border">
<%= this.ulevel %>
            </td>
            <td class="width-50 border center">
                <input type="button" name="edit" class="sprite-icons sprite-pencil edit-input tk-trigger" tk-value="<%= this.id %>" />
            </td>
{if $user.user_level eq $smarty.const.ADMIN}
            <td class="width-35 border center">
                <input type="button" name="delete" class="sprite-icons sprite-delete delete-input tk-trigger" tk-value="<%= this.id %>" />
            </td> 
<td class="width-35 center">
<input type="button" name="edit" class="sprite-icons <% if (this.status == 1) {ldelim} %>
active-input <% {rdelim} else if (this.status == 0) {ldelim} %>
inactive-input <% {rdelim} else {ldelim} %>
deleted-input <% {rdelim} %>edit-status tk-trigger" tk-value="<%= this.id %>" />
</td>
{/if}
</tr>
]]>
</script>